package internal

import "gorm.io/gorm/logger"

type Writer struct {
	writer logger.Writer
}

func NewWriter(writer logger.Writer) *Writer {
	return &Writer{writer: writer}
}

func (w *Writer) Printf(msg string, data ...any) {
	w.writer.Printf(msg, data...)
}
